#ifndef __TRACTOR_H__
#define __TRACTOR_H__
#include <iostream>
using namespace std;

class Tractor{
public:
    Tractor(){
        cout << "Tractor 默认构造函数！" << endl;
        mName = "爬坡专用拖拉机";
    }

    Tractor(string name){
        cout << "Tractor 带参构造函数！" << endl;
        mName = name;
    }

    ~Tractor(){
        cout << "Tractor 析构函数！" << endl;
    }
public:
    string mName;

};
#endif